<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 300px;
            height: 100px;
            border: 1px solid black;
            white-space: nowrap;
            overflow-x: hidden;
            text-overflow: ellipsis;
        }
    </style>
</head>
<body>
    <div>
        Lorem ipsum dolor sit amet consectetur, adipisicing elit. Dignissimos, provident beatae minima modi ad ullam ipsum. Voluptate explicabo autem, maiores fugiat accusamus, perspiciatis excepturi, sapiente maxime odit voluptatum dolorem vel!
    </div>
</body>
</html>